package com.lovo.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.lovo.model.RoleAuthority;

public interface RoleAuthorityMapper {
    int deleteByPrimaryKey(Integer roleAuthorityId);

    int insert(RoleAuthority record);

    int insertSelective(RoleAuthority record);

    RoleAuthority selectByPrimaryKey(Integer roleAuthorityId);

    int updateByPrimaryKeySelective(RoleAuthority record);

    int updateByPrimaryKey(RoleAuthority record);

    int deleteByFkRoleId(@Param("fkRoleId")Integer fkRoleId);

    List<RoleAuthority> findAllByFkRoleId(@Param("fkRoleId")Integer fkRoleId);


}